<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">
                    <div class="columns pull-left">
                      <!--  <button shiro:hasPermission="farm:farmShop:add" type="button" class="btn  btn-primary"
                                onclick="add()">
                            <i class="fa fa-plus" aria-hidden="true"></i>添加
                        </button>
                        <button shiro:hasPermission="farm:farmShop:batchRemove" type="button" class="btn  btn-danger"
                                onclick="batchRemove()">
                            <i class="fa fa-trash" aria-hidden="true"></i>删除
                        </button>-->
                    </div>
<!--                    <div class="columns pull-right">
                        <button class="btn btn-success search" onclick="reLoad()">查询</button>
                    </div>
                    <div class="columns pull-right col-md-2 nopadding">
                        <input id="searchName" type="text" class="form-control"
                               placeholder="请输入农家店铺名称">
                    </div>

                </div>-->

            </div>
            <div class="columns pull-left col-md-8" style="margin-top:14px;">

           <!--     <div  class='col-sm-4'style="margin-top:14px;">
                    <span>类型:&nbsp;&nbsp;&nbsp;</span>
                    <label class="checkbox-inline" >
                        <input type="checkbox" id="accommodation" name="test" value="accomm" style="font-size: 14px"> 住宿
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" id="diningRoom" name="test" value="dining" style="font-size: 14px"> 美食
                    </label>
                 &lt;!&ndash;   <div class="form-group">
                       &lt;!&ndash; <label>选择开始时间：</label>&ndash;&gt;
                        &lt;!&ndash;指定 date标记&ndash;&gt;
                        <div class='input-group date' id='datetimepicker1'>
                            <input id="beginTime" type='text' class="form-control"  placeholder="请选择开始时间"/>
                            <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
                        </div>
                    </div>&ndash;&gt;
                </div>-->

<!--
                <div class='col-sm-4'>
                    <div class="form-group">
                       &lt;!&ndash; <label>选择结束时间：</label>&ndash;&gt;
                        &lt;!&ndash;指定 date标记&ndash;&gt;
                        <div class='input-group date' id='datetimepicker1'>
                            <input id="beginTime" type='text' class="form-control"  placeholder="请选择开始时间"/>
                            <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
                        </div>
                    </div>
                </div>
-->

<!--                <div class='col-sm-4'>
                    <div class="form-group">
                        &lt;!&ndash; <label>选择结束时间：</label>&ndash;&gt;
                        &lt;!&ndash;指定 date标记&ndash;&gt;
                        <div class='input-group date' id='datetimepicker2'>
                            <input id="endTime" type='text' class="form-control"  placeholder="请选择结束时间"/>
                            <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
                        </div>
                    </div>
                </div>-->

          <!--  <div class="columns pull-left">
                <button class="btn btn-success" onclick="reLoad()">查询</button>
            </div>-->
        </div>

                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_resetPwd_h = 'hidden';
        var s_preview = 'hidden'
    </script>
</div>
<div shiro:hasPermission="farm:farmShop:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="farm:farmShop:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div shiro:hasPermission="farm:farmShop:edit">
    <script type="text/javascript">
        s_preview = '';
    </script>
</div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/appjs/farm/farmShop/shop.js"></script>

<script>
   /* $(function () {
        var picker1 = $('#datetimepicker1').datetimepicker({
            format: 'YYYY-MM-DD HH:mm:ss',
            locale: moment.locale('zh-cn'),
            //minDate: '2016-7-1'
        });
        var picker2 = $('#datetimepicker2').datetimepicker({
            format: 'YYYY-MM-DD HH:mm:ss',
            locale: moment.locale('zh-cn')
        });
        //动态设置最小值
        picker1.on('dp.change', function (e) {
            picker2.data('DateTimePicker').minDate(e.date);
        });
        //动态设置最大值
        picker2.on('dp.change', function (e) {
            picker1.data('DateTimePicker').maxDate(e.date);
        });
    });
*/

</script>

</body>
</html>